package com.usst;

import java.io.InputStream;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.usst.biz.CommentDataBiz;
import com.usst.biz.CommentDataBiz8;

@SuppressWarnings("deprecation")
@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(StudyOverflowApplication.class)
public class CommentImportTest8 {

	@Autowired
	CommentDataBiz8 commentAnswerBiz8;
	
	@Test
	public void contextLoads() {
		InputStream inputStream = CommentImportTest8.class.getClassLoader().
				getResourceAsStream("static/copy/Comments.xml");
		commentAnswerBiz8.readXml(inputStream);
	}

}
